home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
GameStar 2006 February
/
Gamestar_81_2006-02_dvd.iso
/
Red Shark
/
Missions
/
Mission_3
/
MissionTasks.script
< prev
next >
Wrap
Text File
|
2001-09-04
|
3KB
|
122 lines
//-------------------------------------------------------------------
//
// This code is copyright 2001 by G5 Software.
// Any unauthorized usage, either in part or in whole of this code
// is strictly prohibited. Violators WILL be prosecuted to the
// maximum extent allowed by law.
//
//-------------------------------------------------------------------
///////////////////////////////////
//
// Mission 3. "FireWorks"
//
//
class CMission3_BasePatrol_a extends CBaseAITask_Patrol
{
array GetPatrolTrip()
{
return array(
vector( 4634, 6908, 0),
vector( 4481, 6819, 0),
vector( 4634, 6908, 0),
vector( 4804, 6643, 0),
vector( 4660, 6634, 0),
vector( 4468, 6607, 0),
vector( 4295, 6491, 0),
vector( 4468, 6607, 0),
vector( 4660, 6634, 0));
}
float GetTripSpeed()
{
return 20;
}
void OnEnemyTargeted() {} // do not attack
}
class CMission3_Walker_a extends CBaseAITask_Patrol
{
array GetPatrolTrip()
{
return array(
vector( 4642, 7069, 0),
vector( 4752, 6945, 0),
vector( 4642, 7069, 0),
vector( 3845, 8414, 0));
}
float GetTripSpeed()
{
return 20;
}
void OnEnemyTargeted() {} // do not attack
}
class CMission3_BasePatrol_b extends CBaseAITask_Patrol
{
array GetPatrolTrip()
{
return array(
vector( 5021, 5258, 0),
vector( 4475, 5250, 0),
vector( 4470, 4650, 0),
vector( 3955, 4645, 0),
vector( 3957, 5456, 0),
vector( 3963, 5961, 0),
vector( 3957, 6311, 0),
vector( 3952, 6681, 0),
vector( 3954, 6941, 0),
vector( 4752, 6945, 0),
vector( 5017, 6940, 0),
vector( 5022, 6133, 0),
vector( 5021, 5642, 0));
}
float GetTripSpeed()
{
return 20;
}
void OnEnemyTargeted() {} // do not attack
}
class CMission3_BasePatrol_c extends CBaseAITask_Patrol
{
array GetPatrolTrip()
{
return array(
vector( 4898, 6200, 0),
vector( 4942, 6015, 0),
vector( 4622, 6027, 0),
vector( 4632, 6201, 0));
}
float GetTripSpeed()
{
return 20;
}
void OnEnemyTargeted() {} // do not attack
}
class CMission3_BasePatrol_d extends CBaseAITask_Patrol
{
array GetPatrolTrip()
{
return array(
vector( 4543, 5737, 0),
vector( 4553, 5973, 0));
}
float GetTripSpeed()
{
return 20;
}
void OnEnemyTargeted() {} // do not attack
}